
import { getRequest, postRequest } from '@/lib/axios';
import {
    SHOPGOODSLIST, SHOPGOODSADD, SHOPGOODSDEL, SHOPGOODSUPDATE,
   
} from '@/config/api-constant/slotsgame'

// 商品列表
export const shopGoodsListApi = (param) => {
    return getRequest(SHOPGOODSLIST, param)
}

// 添加商品
export const shopGoodsAddApi = (param) => {
    return postRequest(SHOPGOODSADD, param)
}

//商品更新
export const shopGoodsUpdateApi = (param) => {
    return postRequest(SHOPGOODSUPDATE, param)
}

// 删除商品
export const shopGoodsDelApi = (param) => {
    return postRequest(SHOPGOODSDEL, param)
}
